package com.example.springbootwebflux.domain;

public class UserBuilder {
    private User user = new User();
    public UserBuilder addUserNo(String userNo){
        user.setUserNo(userNo);
        return this;
    }
    public UserBuilder addUserName(String userName){
        user.setUserName(userName);
        return this;
    }
    public UserBuilder addSex(String sex){
        user.setSex(sex);
        return this;
    }
    public UserBuilder addDesc(String desc){
        user.setDesc(desc);
        return this;
    }
    public User build(){
        return user;
    }
}
